package com.chuxing.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 竞赛信息表
 * @TableName t_contest
 */
@TableName(value ="t_contest")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Contest implements Serializable {
    /**
     * 竞赛id
     */
    @TableId(type = IdType.AUTO)
    private Integer conId;

    /**
     * 竞赛名称
     */
    private String conName;

    /**
     * 获奖学生学号
     */
    private String studentId;

    /**
     * 获奖时间
     */
    private LocalDate conTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}